//
//  Shape.h
//  Demo0010
//
//  Created by zTercel on 13-1-3.
//  Copyright (c) 2013年 zTercel. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef unsigned ulong;

@protocol Drawing
- (void)paint;
- (void)erase;
@optional
- (void)print;

@end

@interface Shape : NSObject<Drawing>

@property   ulong   _fillColor;
@property   ulong   _sideColor;

- (void)paint;
- (void)erase;

@end


@interface Rectangle : Shape

- (void)paint;
- (void)erase;

@end

@interface Triangle : Shape

- (void)paint;
- (void)erase;

@end
